package com.kgcx.schedule.domain;

import java.sql.Timestamp;

import io.swagger.annotations.ApiModelProperty;

public class DriverDurationDomain {
    /**
     * 主键，自增
     */
    @ApiModelProperty(position = 0, value = "主键，自增", readOnly = true, access = "GET")
    private Long kid;
    /**
     * 城市ID
     */
    @ApiModelProperty(position = 1010, value = "城市ID", readOnly = true, example = "1")
    private Long city_id;
    /**
     * 车辆ID
     */
    @ApiModelProperty(position = 1011, value = "车辆ID", readOnly = true, example = "1")
    private Long auto_id;
    /**
     * 司机ID
     */
    @ApiModelProperty(position = 1012, value = "司机ID", readOnly = true, example = "1")
    private Long driver_id;
    /**
     * 上线时间
     */
    @ApiModelProperty(position = 1013, value = "上线时间", readOnly = true, example = "1510293651000")
    private Timestamp online_time;
    /**
     * 下线时间
     */
    @ApiModelProperty(position = 1014, value = "下线时间", readOnly = true, example = "1510293651000")
    private Timestamp offline_time;
    /**
     * 在线时长，单位分钟
     */
    @ApiModelProperty(position = 1015, value = "在线时长，单位分钟", readOnly = true, example = "1")
    private Long duration;

    /**
     * 获取 主键，自增
     * 
     * @return kid
     */
    public Long getKid() {
        return kid;
    }

    /**
     * 设置 主键，自增
     * 
     * @param kid
     *            主键，自增
     */
    public void setKid(Long kid) {
        this.kid = kid;
    }

    /**
     * 获取 城市ID
     * 
     * @return city_id
     */
    public Long getCity_id() {
        return city_id;
    }

    /**
     * 设置 城市ID
     * 
     * @param city_id
     *            城市ID
     */
    public void setCity_id(Long city_id) {
        this.city_id = city_id;
    }

    /**
     * 获取 车辆ID
     * 
     * @return auto_id
     */
    public Long getAuto_id() {
        return auto_id;
    }

    /**
     * 设置 车辆ID
     * 
     * @param auto_id
     *            车辆ID
     */
    public void setAuto_id(Long auto_id) {
        this.auto_id = auto_id;
    }

    /**
     * 获取 司机ID
     * 
     * @return driver_id
     */
    public Long getDriver_id() {
        return driver_id;
    }

    /**
     * 设置 司机ID
     * 
     * @param driver_id
     *            司机ID
     */
    public void setDriver_id(Long driver_id) {
        this.driver_id = driver_id;
    }

    /**
     * 获取 上线时间
     * 
     * @return online_time
     */
    public Timestamp getOnline_time() {
        return online_time;
    }

    /**
     * 设置 上线时间
     * 
     * @param online_time
     *            上线时间
     */
    public void setOnline_time(Timestamp online_time) {
        this.online_time = online_time;
    }

    /**
     * 获取 下线时间
     * 
     * @return offline_time
     */
    public Timestamp getOffline_time() {
        return offline_time;
    }

    /**
     * 设置 下线时间
     * 
     * @param offline_time
     *            下线时间
     */
    public void setOffline_time(Timestamp offline_time) {
        this.offline_time = offline_time;
    }

    /**
     * 获取 在线时长，单位分钟
     * 
     * @return duration
     */
    public Long getDuration() {
        return duration;
    }

    /**
     * 设置 在线时长，单位分钟
     * 
     * @param duration
     *            在线时长，单位分钟
     */
    public void setDuration(Long duration) {
        this.duration = duration;
    }

}
